package com.mytoutou.playermanager.util;

//
// Source code recreated from a .class file by IntelliJ IDEA
// (powered by FernFlower decompiler)
//


import ohos.hiviewdfx.HiLog;
import ohos.hiviewdfx.HiLogLabel;

public final class Log {
    private static String sTag = "ThinDownloadManager";
    private static boolean sEnabled = false;
    private static final HiLogLabel hiLogLabel = new HiLogLabel(0, 0, "ThinDownloadManager");

    private Log() {
    }

    public static boolean isEnabled() {
        return sEnabled;
    }

    public static void setEnabled(boolean var0) {
        sEnabled = var0;
    }

    public static boolean isLoggingEnabled() {
        return sEnabled;
    }

    public static int v(String var0) {
        return sEnabled ? HiLog.info(hiLogLabel, var0, new Object[]{sTag}) : 0;
    }

    public static int v(String var0, String var1) {
        return sEnabled ? HiLog.info(hiLogLabel, var1, new Object[]{sTag}) : 0;
    }

    public static int v(String var0, Throwable var1) {
        return sEnabled ? HiLog.info(hiLogLabel, var0, new Object[]{var1}) : 0;
    }

    public static int v(String var0, String var1, Throwable var2) {
        return sEnabled ? HiLog.info(hiLogLabel, var1, new Object[]{var2}) : 0;
    }

    public static int d(String var0) {
        return sEnabled ? HiLog.debug(hiLogLabel, var0, new Object[0]) : 0;
    }

    public static int d(String var0, String var1) {
        return sEnabled ? HiLog.debug(hiLogLabel, var1, new Object[]{var0}) : 0;
    }

    public static int d(String var0, Throwable var1) {
        return sEnabled ? HiLog.debug(hiLogLabel, var0, new Object[]{var1}) : 0;
    }

    public static int d(String var0, String var1, Throwable var2) {
        return sEnabled ? HiLog.debug(hiLogLabel, var1, new Object[]{var2}) : 0;
    }

    public static int i(String var0) {
        return sEnabled ? HiLog.info(hiLogLabel, var0, new Object[0]) : 0;
    }

    public static int i(String var0, String var1) {
        return sEnabled ? HiLog.info(hiLogLabel, var1, new Object[0]) : 0;
    }

    public static int i(String var0, Throwable var1) {
        return sEnabled ? HiLog.info(hiLogLabel, var0, new Object[]{var1}) : 0;
    }

    public static int i(String var0, String var1, Throwable var2) {
        return sEnabled ? HiLog.info(hiLogLabel, var1, new Object[]{var2}) : 0;
    }

    public static int w(String var0) {
        return sEnabled ? HiLog.warn(hiLogLabel, var0, new Object[0]) : 0;
    }

    public static int w(String var0, String var1) {
        return sEnabled ? HiLog.warn(hiLogLabel, var1, new Object[0]) : 0;
    }

    public static int w(String var0, Throwable var1) {
        return sEnabled ? HiLog.warn(hiLogLabel, var0, new Object[0]) : 0;
    }

    public static int w(String var0, String var1, Throwable var2) {
        return sEnabled ? HiLog.warn(hiLogLabel, var1, new Object[]{var2}) : 0;
    }

    public static int e(String var0) {
        return sEnabled ? HiLog.error(hiLogLabel, var0, new Object[0]) : 0;
    }

    public static int e(String var0, String var1) {
        return sEnabled ? HiLog.error(hiLogLabel, var1, new Object[0]) : 0;
    }

    public static int e(String var0, Throwable var1) {
        return sEnabled ? HiLog.error(hiLogLabel, var0, new Object[]{var1}) : 0;
    }

    public static int e(String var0, String var1, Throwable var2) {
        return sEnabled ? HiLog.error(hiLogLabel, var1, new Object[]{var2}) : 0;
    }

    public static int t(String var0, Object... var1) {
        return sEnabled ? HiLog.debug(hiLogLabel, var0, var1) : 0;
    }
}
